package com.ywger.service.server;

import com.ywger.service.dto.request.EnsRegisterParam;
import com.ywger.service.dto.response.EnsStateRes;

import java.util.List;
import java.util.Map;

/**
 * @author chenmeng
 * @date 2021-11-12 22:00
 * @desc
 */
public interface EnsService {
    EnsStateRes checkEnsName(List<String> ensNameList);

    EnsStateRes register(EnsRegisterParam param);

    void register();

    void dealPending();

    void retry(List<String> ensNameList);

    Map<String, Map<String,List<String>>> getEnsState();
}
